package com.gc.dao.custom;

import com.gc.dao.generator.SysUserMapper;
import com.gc.dto.UserDTO;
import com.gc.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends SysUserMapper {
    SysUser selectByLoginName(String loginName);

    List<UserDTO> selectUserByRoleId(Integer roleId);

    List<UserDTO> selectAll();
}